package me.zxk.smartagriculture.dto.note;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

/**
 * 便签请求DTO
 */
@Data
public class NoteRequest {

    @Size(max = 100, message = "标题长度不能超过100个字符")
    private String title;

    @NotBlank(message = "便签内容不能为空")
    @Size(max = 5000, message = "内容长度不能超过5000个字符")
    private String content;
}
